<?php
$case = $_REQUEST['case'];

switch($case) {
 
    case 'view': 
    
        $view = $_REQUEST['view'];
        
        switch($view) {
            
            case 'getSubMenu':
                
                $menus = Statements::getMenus();
                
?>

    <ul>
        <li><strong>Cadastros ></strong></li>
        <?php foreach($menus as $k => $v) {?>
            <li><a href="#" class="cadastros_menuButton" rel="<?php echo $v['rel'];?>"><?php echo $v['descricao'];?></a></li>
        <?php } ?>
    </ul>

<?php
                
            break;
                
        }
       
    break;

}
?>